package com.sudo.dao.admin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
@Data
@Table(name = "sys_user_login_record")
public class SysUserLoginRecord {
    /**
     * 乐观锁
     */
    @Id
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 登录时间
     */
    @Column(name = "login_time")
    private String loginTime;

    /**
     * 来源
     */
    private String source;

    private String country;

    private String province;

    private String city;

    /**
     * 设备
     */
    private String device;

    @Column(name = "system_name")
    private String systemName;
    /**
     * 浏览器
     */
    private String browser;

    public interface Field{
        String id = "id";
        String username = "username";
        String loginTime = "loginTime";
        String source = "source";
        String country = "country";
        String province = "province";
        String city = "city";
        String device = "device";
        String systemName = "systemName";
        String browser = "browser";
    }
}
